package com.doit.demo01;

public class Dog extends Animal implements Myinterface{
    @Override
    public void eat() {
        System.out.println("狗吃肉");
    }

    @Override
    public void sleep() {
        System.out.println("狗趴着睡觉");
    }

    public void method(){
        System.out.println("狗看门");
    }

    @Override
    public void JiDu() {
        System.out.println("");
    }
}
